package com.ruoyi.web.controller.weather.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 请求
 *
 * @author xuezhenwei
 * @date 2024-06-16 14:15
 */
@Data
public class WeatherRequest implements Serializable {
    @NotBlank(message = "城市编码不能为空！")
    private String location;
    @NotBlank(message = "语言不能为空！")
    private String lang;

    @NotBlank(message = "城市名称不能为空!")
    private String cityName;

}
